package com.example.pojo;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
* <p>
* 简历表
* </p>
*
* @author wsl
* @since 2022-04-13
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "Resume对象", description = "简历表")
public class Resume implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("员工姓名")
    private String name;

    @ApiModelProperty("个人照片")
    private String personalPhoto;

    @ApiModelProperty("性别")
    private String sex;

    @ApiModelProperty("出生年月")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private LocalDate birth;

    @ApiModelProperty("最高学历，值为字典字段")
    private Integer highestEducation;

    @ApiModelProperty("教育经历别名")
    @TableField(exist = false)
    private String hEducationName;

    @ApiModelProperty("学位，值为字典字段")
    private Integer academicDegree;

    @ApiModelProperty("身份证号码")
    private String idCard;

    @ApiModelProperty("毕业院校")
    private String graduationInstitutions;

    @ApiModelProperty("专业")
    private String major;

    @ApiModelProperty("家庭地址（户口所在地）")
    private String domicilePlace;

    @ApiModelProperty("政治面貌，值为字典字段")
    private Integer politics;

    @ApiModelProperty("民族，值为字典字段")
    private Integer nation;

    @ApiModelProperty("籍贯（祖籍）")
    private String nativePlace;

    @ApiModelProperty("毕业时间")
    private LocalDate graduationDate;

    @ApiModelProperty("婚姻状况")
    private Integer wedlock;

    @ApiModelProperty("身高")
    private Double height;

    @ApiModelProperty("健康状态")
    private String health;

    @ApiModelProperty("联系电话")
    private String contactPhone;

    @ApiModelProperty("电子邮件")
    private String email;

    @ApiModelProperty("兴趣爱好")
    private String hobbies;

    @ApiModelProperty("计算机应用能力")
    private String computerApplicationAbility;

    @ApiModelProperty("计算机等级证书")
    private String computerGradeCertificate;

    @ApiModelProperty("自我评价")
    private String selfEvaluation;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("状态")
    private Integer status;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty("修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    @TableField(fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;

    @ApiModelProperty("逻辑删除")
    private Integer deleted;

    @ApiModelProperty("教育经历")
    @TableField(exist = false)
    private List<EducationExperience> educationExperienceList;

    @ApiModelProperty("工作经历")
    @TableField(exist = false)
    private List<WorkExperience> workExperienceList;

    @ApiModelProperty("简历分类表")
    @TableField(exist = false)
    private ResumeClassify resumeClassify;

    @ApiModelProperty("简历分类编号")
    @TableField(exist = false)
    private Integer resumeClassifyId;

    @ApiModelProperty("关注表")
    @TableField(exist = false)
    private ResumeFocus resumeFocus;
}
